package insight.sm.pojo;

import insight.sm.constants.Constants;

import java.util.Date;

public class Task {
	private int taskId;
	private int projectId;
	private String externalTaskId;
	private String externalProjectId;
	private String taskName;
	private String description;
	private Date plannedStartDate;
	private Date plannedFinishDate;
	private Date actualStartDate;
	private Date actualFinishDate;
	private Date expectedFinishDate;
	private int duration;
	private int parentId;
	private String taskType;
	private Constants.TaskStatusConstants taskStatus;
	
	public int getTaskId() {
		return taskId;
	}
	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}
	public int getProjectId() {
		return projectId;
	}
	public void setProjectId(int projectId) {
		this.projectId = projectId;
	}
	public String getExternalTaskId() {
		return externalTaskId;
	}
	public void setExternalTaskId(String externalTaskId) {
		this.externalTaskId = externalTaskId;
	}
	public String getExternalProjectId() {
		return externalProjectId;
	}
	public void setExternalProjectId(String externalProjectId) {
		this.externalProjectId = externalProjectId;
	}
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getPlannedStartDate() {
		return plannedStartDate;
	}
	public void setPlannedStartDate(Date plannedStartDate) {
		this.plannedStartDate = plannedStartDate;
	}
	public Date getPlannedFinishDate() {
		return plannedFinishDate;
	}
	public void setPlannedFinishDate(Date plannedFinishDate) {
		this.plannedFinishDate = plannedFinishDate;
	}
	public Date getActualStartDate() {
		return actualStartDate;
	}
	public void setActualStartDate(Date actualStartDate) {
		this.actualStartDate = actualStartDate;
	}
	public Date getActualFinishDate() {
		return actualFinishDate;
	}
	public void setActualFinishDate(Date actualFinishDate) {
		this.actualFinishDate = actualFinishDate;
	}
	public Date getExpectedFinishDate() {
		return expectedFinishDate;
	}
	public void setExpectedFinishDate(Date expectedFinishDate) {
		this.expectedFinishDate = expectedFinishDate;
	}
	public int getDuration() {
		return duration;
	}
	public void setDuration(int duration) {
		this.duration = duration;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public String getTaskType() {
		return taskType;
	}
	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}
	public Constants.TaskStatusConstants getTaskStatus() {
		return taskStatus;
	}
	public void setTaskStatus(Constants.TaskStatusConstants taskStatus) {
		this.taskStatus = taskStatus;
	}
	@Override
	public String toString() {
		return "Task [taskId=" + taskId + ", projectId=" + projectId
				+ ", externalTaskId=" + externalTaskId + ", externalProjectId="
				+ externalProjectId + ", taskName=" + taskName
				+ ", description=" + description + ", plannedStartDate="
				+ plannedStartDate + ", plannedFinishDate=" + plannedFinishDate
				+ ", actualStartDate=" + actualStartDate
				+ ", actualFinishDate=" + actualFinishDate
				+ ", expectedFinishDate=" + expectedFinishDate + ", duration="
				+ duration + ", parentId=" + parentId + ", taskType="
				+ taskType + ", taskStatus=" + taskStatus + "]";
	}
	
}
